import instance from '@/utils/request';

//添加支付类别管理
export function AddPaymentapi(data) {
    return instance.request({
        url: "api/Payment/AddMeet",
        method: "post",
        data
    })
}

//显示应付列表
export function ShowPaymentapi(data) {
    return instance.request({
        url: "api/Payment/ShowMeet",
        method: "post",
        data
    })
}

//加载支付类别
export function GetPaytypeapi(data) {
    return instance.request({
        url: "api/Payment/BindPayType",
        method: "post",
        data
    })
}

//删除应付信息
export function DeletePaymentapi(data) {
    return instance.request({
        url: "api/Payment/DeletePayment",
        method: "post",
        data
    })
}

//加载支付类别
export function BatchDelPaymentapi(data) {
    return instance.request({
        url: "api/Payment/BatchDelPayment",
        method: "post",
        params: data
    })
}

//反填应付信息
export function ReversePaymentapi(data) {
    return instance.request({
        url: "api/Payment/ReversePayment",
        method: "post",
        data
    })
}

//编辑应付信息
export function UpdatePaymentapi(data) {
    return instance.request({
        url: "api/Payment/UpdatePayment",
        method: "post",
        data
    })
}

//修改应付状态
export function UpdateStateapi(data) {
    return instance.request({
        url: "api/Payment/UpdateState",
        method: "post",
        data
    })
}
